package com.zlz.ddns.seddns.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Builder;
import lombok.Data;

import java.util.Date;

/**
 * @Author: zhulinzhong
 * @Date: 2024/7/15
 */
@Data
@Builder
@TableName("ddns_update_record")
public class DDnsUpdateRecord {

    @TableId(type = IdType.ASSIGN_ID)
    private Long id;

    private String oldIp;

    private String targetIp;

    private Date createdTime;

    private Date updatedTime;

    /**
     * 0：解析中 1：停止解析
     */
    private Integer state;
}
